﻿using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using CommunityToolkit.Mvvm.Messaging;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SqliteDAL.Model
{
    /// <summary>
    /// 数据字典管理
    /// </summary>
    [Table("T_DataDictinarys")]
    public class DataDictinarys: ObservableObject
    {
        public int Id { get; set; }//主键
        public string Encoding { get; set; } = string.Empty;//编码
        public string Name { get; set; } = string.Empty;//名称
        public string Remark { get; set; } = "-";//备注
        public string Value { get; set; } = string.Empty;//值
        public string Parent { get; set; } = string.Empty;//父级
        public int Level { get; set; }//级别，1-父级 2-子级
    }
}
